package face.pay.entity;

import face.pay.constant.OemType;


/**
 * @Auther: zkj
 * @Date: 2019/7/2 16:55
 * @Description:
 */
public class OemInfo {

    private Integer id;

    private String  name;

    private String  adminDomain;

    private String  agencyDomain;

    private String  enterpriseDomain;

    private Integer status;


    /**
     * 服务商 APPID
     */
    private String  appId;

    private String  secret;

    /**
     * 服务商APIKEY
     */
    private String  apiKey;

    /**
     *  支付证书API3KEY
     */
    private String  api3Key;


    /**
     * 服务商商户号
     */
    private String  mchId;


    /**
     * 微信证书p12格式
     *  file_info id
     */
    private Long apiclientCertp12;


    /**
     * 共享型商户 最低费率设置
     */
    private Double  shareRate;

    /**
     * oem 类型  默认 DEFAULT SHARE
     */
    private String  type = OemType.DEFAULT;

    /**
     * oem刷脸支付Appid
     */
    private String aliAppId;


    /**
     * 支付宝服务商ID
     */
    private  String aliProviderId;

    /**
     * 支付宝引用
     */
    private Long aliAppKey;

    /**
     * 支付宝公钥
     */
    public  Long aliPublicKey;

    /**
     * 支付宝授权回调地址
     */
    private String aliCallBackUrl;


    private String  createdTime;

    private Integer createdBy;

    private String  updatedTime;

    private Integer updatedBy;




    /**
     *等级名额购买分佣比例设置
     */
    private  Double levelProfit =  new Double(0);




    public OemInfo() {
    }

    public OemInfo(Integer id,String name, String adminDomain) {
        this.id=id;
        this.name = name;
        this.adminDomain = adminDomain;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAdminDomain() {
        return adminDomain;
    }

    public void setAdminDomain(String adminDomain) {
        this.adminDomain = adminDomain;
    }

    public String getAgencyDomain() {
        return agencyDomain;
    }

    public void setAgencyDomain(String agencyDomain) {
        this.agencyDomain = agencyDomain;
    }

    public String getEnterpriseDomain() {
        return enterpriseDomain;
    }

    public void setEnterpriseDomain(String enterpriseDomain) {
        this.enterpriseDomain = enterpriseDomain;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }


    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }


    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Integer getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(Integer updatedBy) {
        this.updatedBy = updatedBy;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Double getLevelProfit() {
        return levelProfit;
    }

    public void setLevelProfit(Double levelProfit) {
        this.levelProfit = levelProfit;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public Double getShareRate() {
        return shareRate;
    }

    public void setShareRate(Double shareRate) {
        this.shareRate = shareRate;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getApiclientCertp12() {
        return apiclientCertp12;
    }

    public void setApiclientCertp12(Long apiclientCertp12) {
        this.apiclientCertp12 = apiclientCertp12;
    }

    public String getApi3Key() {
        return api3Key;
    }

    public void setApi3Key(String api3Key) {
        this.api3Key = api3Key;
    }

    public String getAliAppId() {
        return aliAppId;
    }

    public void setAliAppId(String aliAppId) {
        this.aliAppId = aliAppId;
    }

    public Long getAliAppKey() {
        return aliAppKey;
    }

    public void setAliAppKey(Long aliAppKey) {
        this.aliAppKey = aliAppKey;
    }

    public String getAliProviderId() {
        return aliProviderId;
    }

    public void setAliProviderId(String aliProviderId) {
        this.aliProviderId = aliProviderId;
    }

    public Long getAliPublicKey() {
        return aliPublicKey;
    }

    public void setAliPublicKey(Long aliPublicKey) {
        this.aliPublicKey = aliPublicKey;
    }

    public String getAliCallBackUrl() {
        return aliCallBackUrl;
    }

    public void setAliCallBackUrl(String aliCallBackUrl) {
        this.aliCallBackUrl = aliCallBackUrl;
    }


    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }
}
